﻿<%@ page title="" language="C#" masterpagefile="~/Admin/MasterPage.master" autoeventwireup="true" inherits="Admin_News_NewsDetail, App_Web_4da1vbwz" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <div style="text-align: center; font-weight:bold">
        <asp:Label ID="lblMsg" ForeColor="Red" runat="server" Text=""></asp:Label>
    </div>
    <table class="auto-style1">
        <tr>
            <td class="auto-style2">&nbsp;</td>
            <td class="auto-style4">
                <h1 style="font-weight: bold">Thêm/ Sửa Tin Tức</h1>
            </td>
            <td class="auto-style4">&nbsp;</td>
        </tr>

        <%--<tr>
            <td class="auto-style2">Chọn danh mục</td>
            <td class="auto-style4">
                <asp:DropDownList ID="ddlCate" runat="server" CssClass="textbox" Width="800px" Height="25px"></asp:DropDownList>
            </td>
            <td class="auto-style4">&nbsp;</td>
        </tr>--%>

        <tr>
            <td class="auto-style2"></td>
            <td class="auto-style4">
                <asp:Image ID="txtImage" Height="100px" runat="server" />
            </td>
            <td class="auto-style4">&nbsp;</td>
        </tr>

        <tr>
            <td class="auto-style2">Hình đại diện</td>
            <td class="auto-style4">
                <asp:FileUpload ID="FileUpload1" runat="server" CssClass="textbox" Height="25px" />
            </td>
            <td class="auto-style4">&nbsp;</td>
        </tr>

        <tr>
            <td class="auto-style2">Tiêu đề</td>
            <td class="auto-style4">
                <asp:TextBox CssClass="textbox" ID="txtTitle" runat="server" Width="800px" Height="25px"></asp:TextBox>
            </td>
            <td class="auto-style4">&nbsp;</td>
        </tr>   

        <tr>
            <td class="auto-style2">Tiêu đề - En</td>
            <td class="auto-style4">
                <asp:TextBox CssClass="textbox" ID="txtTitle_en" runat="server" Width="800px" Height="25px"></asp:TextBox>
            </td>
            <td class="auto-style4">&nbsp;</td>
        </tr>   
        
        <tr>
            <td class="auto-style2">Nội dung</td>
            <td class="auto-style4">

                <FCKeditorV2:FCKeditor Height="500px" Width="800px" ID="txtContent" BasePath="~/Admin/fckeditor/" runat="server">
                </FCKeditorV2:FCKeditor>

                <br />
            </td>
            <td class="auto-style4">&nbsp;</td>
        </tr>

        <tr>
            <td class="auto-style2">Nội dung - En</td>
            <td class="auto-style4">

                <FCKeditorV2:FCKeditor Height="500px" Width="800px" ID="txtContent_en" BasePath="~/Admin/fckeditor/" runat="server">
                </FCKeditorV2:FCKeditor>

                <br />
            </td>
            <td class="auto-style4">&nbsp;</td>
        </tr>

        <tr>
            <td class="auto-style2">Vị trí</td>
            <td class="auto-style4">
                <asp:TextBox CssClass="textbox" ID="txtOrder" Text="0" runat="server" Height="25px" Width="800px"></asp:TextBox>
            </td>
            <td class="auto-style4">&nbsp;</td>
        </tr>

        <tr>
            <td class="auto-style2">Nổi bật</td>
            <td class="auto-style4">
                <asp:CheckBox ID="cbVip" runat="server" />
            </td>
            <td class="auto-style4">&nbsp;</td>
        </tr>

        <tr>
            <td class="auto-style2">Trạng thái</td>
            <td class="auto-style4">
                <asp:CheckBox ID="cbStatus" runat="server" />
            </td>
            <td class="auto-style4">&nbsp;</td>
        </tr>
        
        <tr>
            <td class="auto-style2"></td>
            <td class="auto-style4">&nbsp;</td>
            <td class="auto-style4">&nbsp;</td>
        </tr>

        <tr>
            <td class="auto-style2"></td>
            <td class="auto-style4">
                <asp:Button ID="btnSave" CssClass="buttonblue" runat="server" Text="Lưu" OnClick="btnSave_Click" />
                <asp:Button ID="BtnCancel" CssClass="buttonblue" PostBackUrl="~/Admin/Products/Product.aspx" runat="server" Text="Hủy" />
            </td>
            <td class="auto-style4">&nbsp;</td>
        </tr>
    </table>
</asp:Content>

